home *** CD-ROM | disk | FTP | other *** search
- -- button handlers
-
- on keyHandler
- global doneFrame, QTspriteDuration, QTsprite, QTspriteName, QThandler
- global endOfSection, playAll
- global restartBtnSprite, continueBtnSprite, skipFwdBtnSprite, skipBackBtnSprite
-
- if the shiftDown then
- set the movietime of sprite QTsprite to QTspriteDuration - 20
- set the movierate of sprite QTsprite to 1
- else
- if the visible of sprite restartBtnSprite then
- hideNavBtns
-
- continue
- else
- pause
-
- showNavBtns
- end if
-
-
- updatestage
- end if
-
- end
-
-
- on showNavBtns
- global restartBtnSprite, continueBtnSprite, skipFwdBtnSprite, skipBackBtnSprite
-
- set the visible of sprite continueBtnSprite to TRUE
- set the visible of sprite restartBtnSprite to TRUE
- set the visible of sprite skipFwdBtnSprite to TRUE
- set the visible of sprite skipBackBtnSprite to TRUE
-
- end
-
- on hideNavBtns
- global restartBtnSprite, continueBtnSprite, skipFwdBtnSprite, skipBackBtnSprite
-
- set the visible of sprite continueBtnSprite to FALSE
- set the visible of sprite restartBtnSprite to FALSE
- set the visible of sprite skipFwdBtnSprite to FALSE
- set the visible of sprite skipBackBtnSprite to FALSE
-
- end
-